-- A solution contains projects, and defines the available configurations
solution "Premake4Tester"
   configurations { "Debug", "Release" }
 
   -- A project defines one build target
   project "Premake4Tester.out"
      kind "ConsoleApp"
      language "C++"
      files { "Premake4Tester/**.h", "Premake4Tester/**.cpp" }
      location "build" 
      links { "DynLibTest" }
      links { "StaticLibTest" }
      targetdir ("bin")
      configuration "Debug"
         defines { "DEBUG" }
         flags { "Symbols" }
      configuration "Release"
         defines { "NDEBUG" }
         flags { "Optimize" }

   -- A project defines one build target
   project "DynLibTest"
      kind "SharedLib"
      language "C++"
      files { "DynLibTest/**.h", "DynLibTest/**.cpp" }
      location "build" 
      targetdir ("bin") 
      configuration "Debug"
         defines { "DEBUG" }
         flags { "Symbols" }

      configuration "Release"
         defines { "NDEBUG" }
         flags { "Optimize" } 

   -- A project defines one build target
   project "StaticLibTest"
      kind "StaticLib"
      language "C++"
      files { "StaticLibTest/**.h", "StaticLibTest/**.cpp" }
      location "build" 
      targetdir ("bin") 
      configuration "Debug"
         defines { "DEBUG" }
         flags { "Symbols" }
 
      configuration "Release"
         defines { "NDEBUG" }
         flags { "Optimize" }
